name: tests190 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin:/opt/pyenv/bin:/tmp/venv-NzLS/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PYTHONHASHSEED: 1380609577 env PYTHONIOENCODING: utf-8 env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 env TOX_ENV_NAME: tests190 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karafoc.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karafoc env USE_SIMS: lighty env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 metadata pid: 5567 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin/*:launch_tests.sh cmd: ./launch_tests.sh oc exit_code: 1 using environment variables from ./karafoc.env pytest -q transportpce_tests/oc/test01_portmapping.py EE...FFFF. [100%] ==================================== ERRORS ==================================== _ ERROR at setup of TransportpceOCPortMappingTesting.test_01_meta_data_insertion _ cls = @classmethod def setUpClass(cls): > cls.processes = test_utils.start_tpce() ^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/oc/test01_portmapping.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_tpce(): if 'NO_ODL_STARTUP' in os.environ: print('No OpenDaylight instance to start!') return [] print('starting OpenDaylight...') if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': process = start_lighty() else: process = start_karaf() if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): print('OpenDaylight started !') else: print('OpenDaylight failed to start !') shutdown_process(process) for pid in process_list: shutdown_process(pid) > sys.exit(1) E SystemExit: 1 transportpce_tests/common/test_utils.py:231: SystemExit ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! _ ERROR at setup of TransportpceOCPortMappingTesting.test_02_catlog_input_insertion _ cls = @classmethod def setUpClass(cls): > cls.processes = test_utils.start_tpce() ^^^^^^^^^^^^^^^^^^^^^^^ transportpce_tests/oc/test01_portmapping.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def start_tpce(): if 'NO_ODL_STARTUP' in os.environ: print('No OpenDaylight instance to start!') return [] print('starting OpenDaylight...') if 'USE_LIGHTY' in os.environ and os.environ['USE_LIGHTY'] == 'True': process = start_lighty() else: process = start_karaf() if wait_until_log_contains(TPCE_LOG, [LIGHTY_OK_START_MSG, KARAF_OK_START_MSG], time_to_wait=100): print('OpenDaylight started !') else: print('OpenDaylight failed to start !') shutdown_process(process) for pid in process_list: shutdown_process(pid) > sys.exit(1) E SystemExit: 1 transportpce_tests/common/test_utils.py:231: SystemExit ---------------------------- Captured stdout setup ----------------------------- starting OpenDaylight... starting KARAF TransportPCE build... Searching for patterns in karaf.log... Pattern not found after 100 seconds! OpenDaylight failed to start ! =================================== FAILURES =================================== ______ TransportpceOCPortMappingTesting.test_06_mpdr_portmapping_NETWORK5 ______ self = def test_06_mpdr_portmapping_NETWORK5(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-NETWORK5") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK5 ______ TransportpceOCPortMappingTesting.test_07_mpdr_portmapping_CLIENT1 _______ self = def test_07_mpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "mapping", "XPDR1-CLIENT1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:103: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_07_mpdr_portmapping_CLIENT1 _________ TransportpceOCPortMappingTesting.test_08_mpdr_switching_pool _________ self = def test_08_mpdr_switching_pool(self): response = test_utils.get_portmapping_node_attr("XPDR-OC", "switching-pool-lcp", "1") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_08_mpdr_switching_pool _________ TransportpceOCPortMappingTesting.test_09_check_mccapprofile __________ self = def test_09_check_mccapprofile(self): res = test_utils.get_portmapping_node_attr("XPDR-OC", "mc-capabilities", "XPDR-mcprofile") > self.assertEqual(res['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test01_portmapping.py:141: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_09_check_mccapprofile =========================== short test summary info ============================ FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_06_mpdr_portmapping_NETWORK5 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_07_mpdr_portmapping_CLIENT1 FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_08_mpdr_switching_pool FAILED transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_09_check_mccapprofile ERROR transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_01_meta_data_insertion ERROR transportpce_tests/oc/test01_portmapping.py::TransportpceOCPortMappingTesting::test_02_catlog_input_insertion 4 failed, 4 passed, 2 errors in 244.98s (0:04:04)